package com.sky.service;

import com.sky.vo.OrderReportVO;
import com.sky.vo.SalesTop10ReportVO;
import com.sky.vo.TurnoverReportVO;
import com.sky.vo.UserReportVO;

import javax.servlet.http.HttpServletResponse;
import java.time.LocalDate;

public interface ReportService {

    //--1--营业额数据统计
    TurnoverReportVO turnoverStatistics(LocalDate begin, LocalDate end);

    //--2--用户统计接口
    UserReportVO userStatistics(LocalDate begin, LocalDate end);

    //--3--订单统计接口
    OrderReportVO ordersStatistics(LocalDate begin, LocalDate end);

    //--4--查询销量排名top10接口
    SalesTop10ReportVO top10(LocalDate begin, LocalDate end);


    //--5--导出Excel报表接口
    void exportBusinessData(HttpServletResponse response);
}
